package com.nnxy.work_to_study.mapper;

import com.nnxy.work_to_study.entity.Job;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author @easily001
 * @since 2021-09-29
 */
@Mapper
public interface JobMapper {
    /**
     * 添加工作
     * @param job
     * @return
     */
    int addJob(Job job);


    List<Map> getJobList(Map map);
    Integer  getJobListCount(Map map);



    int deleteJob(Integer id);


    int updateJob(Job job);
}
